package com.ruoyi.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: ygw
 * @Date: 2022/04/13/18:46
 * @Description:
 */
@Data
@Component
@ConfigurationProperties(prefix = "aws")
public class AwsConfig {
    public static String bucketName;
    public static String pdfPath;
    public static String crsPath;
    public static String xdsPath;
    public static String appLogsPath;
    public static String localPath;

    public static String getBucketName() {
        return bucketName;
    }
    public static String getPdfPath() {
        return pdfPath;
    }
    public static String getCrsPath() {
        return crsPath;
    }
    public static String getXdsPath() {
        return xdsPath;
    }
    public static String getAppLogsPath() {
        return appLogsPath;
    }
    public static String getLocalPath() {
        return localPath;
    }

    public void setBucketName(String bucketName) {
        AwsConfig.bucketName = bucketName;
    }

    public void setPdfPath(String pdfPath) {
        AwsConfig.pdfPath = pdfPath;
    }

    public void setCrsPath(String crsPath) {
        AwsConfig.crsPath = crsPath;
    }

    public void setXdsPath(String xdsPath) {
        AwsConfig.xdsPath = xdsPath;
    }
    public void setAppLogsPath(String appLogsPath) {
        AwsConfig.appLogsPath = appLogsPath;
    }
    public void setLocalPath(String localPath) {
        AwsConfig.localPath = localPath;
    }






}
